Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autosign #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Autosign #52

wants to merge 4 commits into from

Conversation

mgeggie-uber
Copy link
Contributor

Added support for setting up basic and policy-based autosign for the Puppet server.

running both on a (puppet server) node, to avoid the cert initialization
problem.
based autosigning using a combination of the following new
parameters:
- autosign: Path to the autosign file to use
    Default: /etc/puppetlabs/puppet/autosign.conf
- autosign_runnable: Boolean of whether autosign file is executable
  Setting to true will enable policy-based autosigning, and require
  autosign_script to be supplied
    Default: false
- autosign_list: Array of domains to match for basic autosigning.
  Requires autosign_runnable to be false.
    Default: []
- autosign_script: String content of script to use for policy-
  based autosigning. Requires autosign_runnable to be true.
    Default: ""
$autosign = '/etc/puppetlabs/puppet/autosign.conf'
$autosign_runnable = false
$autosign_list = []
$autosign_script = ''
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing the tests to fail. Puppet 4 has an actual undef so using that value is the way to go.

@jlambert121
Copy link
Owner

Thanks! Could you take a look at the empty string thing so tests are happy? After that I'll merge it in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants